package com.example.smartagriculture.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.io.Serial;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

/**
 * irrigation_msg 实体类
 * @author 张芸博
 * @since 2024-12-10
 */
@Data
@AllArgsConstructor
@TableName("irrigation_msg")
public class IrrigationMsg implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @Schema(name = "id", description = "id")
    private Integer id;

    /**
     * 果园id
     */
    @Schema(name = "orchard_id", description = "果园id")
    private Integer orchardId;

    /**
     * 灌溉方法
     */
    @Schema(name = "irrigation_method", description = "灌溉方法")
    private String irrigationMethod;

    /**
     * 灌溉水量
     */
    @Schema(name = "irrigation_water", description = "灌溉水量")
    private String irrigationWater;

    /**
     * 灌溉日期
     */
    @Schema(name = "irrigation_date", description = "灌溉日期")
    private LocalDateTime irrigationDate;


}
